<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<?php echo $html->charset();?>

		<link rel="icon" href="<?php echo $this->webroot;?>favicon.ico" type="image/x-icon" />
		<link rel="shortcut icon" href="<?php echo $this->webroot;?>favicon.ico" type="image/x-icon" />
		<?php echo $html->css('shades');?>
		<?php echo $html->css('jquery.tabs');?>
		<?php echo $html->css('thickbox');?>
		<?php e($this->renderElement('jsfiles'));?>

		<title><?php e($sitename . ' : ' . $sitedesc ); ?></title>
	</head>

	<!-- zero margin = wide layout -->
	<body style="margin: 0;"> 

		<div class="container">

			<div class="header">
				<a href="<?php e($siteurl);?>"><span><?php e($sitename); ?></span></a>
			</div>

			<div class="stripes"><span></span></div>
	
			<div class="nav">
				<?php e($this->element('topnav'));?>
				<div class="clearer"><span></span></div>
			</div>

			<div class="stripes"><span></span></div>

			<div class="main">
	
				<div class="left">
					<div class="content">
						<?php
							if($session->check('Message.flash')):
								$session->flash();
							endif;
						?>
	
						<?php echo $content_for_layout;?>
					</div>

				</div>

				<div class="right">

					<div class="subnav"><?php //e($this->element('google_feeds'));?></div>

				</div>

				<div class="clearer"><span></span></div>
			</div>

			<div class="footer">
			<!--	
				<div class="col3">
				</div>

				<div class="col3center">
				</div>

				<div class="col3">
				</div>
			-->
				<?php e($this->element('footer', array('cache'=>"1 day")));?>
		
			</div>
	
		</div>

	</body>

</html>